﻿<%@ Page Language="C#" MasterPageFile="~/KhachHang.Master" AutoEventWireup="true" CodeBehind="ChiTietLSMH.aspx.cs" Inherits="GiaoDien.WebForm10" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="NoiDungChinh2" runat="server">
<div id="content_top"></div>
<div id="content_middle">
	<h3>Quản lý đơn đặt hàng</h3>
    <div class="detail_box">
        <div class="sidebar_box_content">
            <div id="login_box">
            <asp:GridView ID="GrCTLSMH" runat="server" AutoGenerateColumns="False" Width="100%">
               <Columns>
                   <asp:BoundField DataField="MaSanPham" HeaderText="Mã Sản Phẩm" />
                   <asp:BoundField DataField="SoLuong" HeaderText="Số Lượng" >
                       <ItemStyle HorizontalAlign="Center" />
                   </asp:BoundField>
                   <asp:BoundField DataField="DonGia" HeaderText="Giá Bán" >
                       <ItemStyle HorizontalAlign="Center" />
                   </asp:BoundField>
                   <asp:TemplateField HeaderText="Thành Tiền">
                       <ItemTemplate>
                           <asp:Label ID="lblThanhTien" runat="server" Text='<%# Int32.Parse(Eval("SoLuong").ToString()) * Int32.Parse(Eval("DonGia").ToString())+" VNĐ" %>'></asp:Label>
                       </ItemTemplate>
                       <ItemStyle HorizontalAlign="Right" />
                   </asp:TemplateField>
               </Columns>
           </asp:GridView>
                                
          </div>
        </div>
        <p>&nbsp;</p>
    </div>
    
  <div class="cleaner"></div>
            
</div>
<div id="content_bottom"></div>
</asp:Content>
